﻿@using S4Store.Domain
@model S4Store.Domain.Actionplan
@{
    ViewBag.Title = "Add";
    Layout = null;
}
<form class="pageForm addpage" action="@Url.Action("ConfirmResult")" method="post">
<div style=" height:100%; width:100%; overflow:hidden" class="verticalSplitContainer">
    <div class="pageFormContent" style="overflow: auto;" ratio="*">
        <input type="hidden" name="WriteDate" value="@Model.WriteDate"/>
        <table style="width:100%; height:100%;"  class="verticalSplitContainer">
            <tr ratio="#30">
                <td>工时跨度：@Model.FinishStart - @Model.FinishEnd</td>
            </tr>
            <tr  ratio="#30">
                <td >阶段描述：</td>
            </tr>  
            <tr ratio="#160">
                <td  style=" height:100%; vertical-align: top;">
                    @Html.Raw(Model.Achievement.Replace("\r","<br/>"))
                </td>
            </tr>
            <tr  ratio="#30">
                <td >确认描述：</td>
            </tr>  
            <tr ratio="*">
                <td>
                    <textarea name="ConfirmInfo" style="width:100%; height:150px">@Model.ConfirmInfo</textarea>  
                </td>
            </tr> 
        </table>
    </div>
    @if (Model.Status == Actionplan.PlanStatus.Excuted)
    {
        <div class="formBar" ratio="#30">
            <ul>
                <li>
                    <div class="simplebutton"><div class="r"><button type="button" class="submit">确认</button></div></div>
                </li>	
            </ul>
        </div>
    }
</div>
</form>